<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 1.声明Map
        let m = new Map()

        // 2.添加元素
        m.set('name','ArimaMisaki')
        m.set('say',()=>{
            console.log('说话');
        })
        
        // 3.删除元素
        m.delete('name')

        // 4.get依键寻值
        console.log(m.get('say'));
    </script>
</body>
</html>